package com.nami.store.api.response.message;


import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 描述：
 *
 * @Author: lbc
 * @Date: 2023-08-16 14:04
 * @email: 594599620@qq.com
 * @Description: keep coding
 */
@Data
public class MessageDTO implements Serializable {

    private static final long serialVersionUID = -2902888558093040037L;

    /**
     * 消息id
     */
    private String id;

    /**
     * 客户端消息id
     */
    private String clientMsgId;

    /**
     * 会话id
     */
    private String cid;

    /**
     * c2c, c2g
     */
    private String converType;

    /**
     * 消息发送者
     */

    private String senderId;

    /**
     * 消息接收者
     */
    private String receiverId;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 内容
     */
    private String payload;

    /**
     * 内容类型
     */
    private String payloadType;

    /**
     * sequence
     */
    private Integer seq;

    /**
     * 阅后即焚
     */
    private Boolean burnAfter;

    /**
     * 是否撤回消息
     */
    private Boolean ifRecall;

    /**
     * 发送时间
     */
    private Date sendTime;

    private Integer memberCount;

    private Integer readCount;

}
